//
//  DMMarqueeView.m
//  CQKuaiYi
//
//  Created by Mr.Cannon on 2017/1/8.
//  Copyright © 2017年 Mr.Cannon. All rights reserved.
//

#import "DMMarqueeView.h"
#import "LSPaoMaView.h"
@implementation DMMarqueeView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self setupUI];
    }
    return self;
}
#pragma mark - 初始化界面
-(void)setupUI
{
    //创建文字
    NSString* title = @"{\(^o^)/扮猪吃老虎\(^o^)/}组长:(李波波ヾ(=･ω･=)o) 组员:(何典钊ﾍ|･∀･|ﾉ*~●)、(袁情ﾍ|･∀･|ﾉ*~●)、(凌常译ﾍ|･∀･|ﾉ*~●)、(邱中林ﾍ|･∀･|ﾉ*~●)、(邓超文ﾍ|･∀･|ﾉ*~●)、";
    //调用方法
    LSPaoMaView* paoMa = [[LSPaoMaView alloc]initWithFrame:CGRectMake(0, 0, 500, 40) title:title];
    //添加到视图中
    [self addSubview:paoMa];
}
@end
